package com.gis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 数据图层发布表，存储发布图层相关数据
 * </p>
 *
 * @author bobo
 * @since 2024-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@TableName("publish")
public class Publish implements Serializable {

    private static final long serialVersionUID = 1L;
    public static final String Organism = "生物";

    /**
     * 自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 图层名
     */
    private String publishName;

    /**
     * 图层类型
     */
    private String publishType;

    /**
     * 图层资源URL
     */
    private String publishUrl;
}
